

@extends('layout')

@section('title', '热门资讯')

@section('meta')
    <meta name="worldwidecard:type" content="webpage">
    <meta name="worldwidecard:webpage:url" content="{{route('article.show', $article->id)}}">
    <meta name="worldwidecard:webpage:title" content="{{$article->title}}">
    <meta name="worldwidecard:webpage:description" content="{{str_limit(strip_tags($article->content), 100)}}">
    @if($article->picture)
    <meta name="worldwidecard:webpage:image" content="{{config('app.url').'/uploads/'.$article->picture}}">
    @endif
    <meta name="keywords" content="{{$article->keyword}}">
@endsection

@section('content')
    <body>
    <div class="infomations">
        <h1>{{$article->title}}</h1>
        <div class="timedates">{{$article->created_at}}</div>
        <div class="contents">{!! $article->content !!}

        </div>
    </div>
    </body>
@endsection